#pragma once
#include "Student.h"
#include <vector>
#include <string>
#include <sstream>
#include <fstream>
using namespace std;
class StudentRegister
{
public:
	StudentRegister(void);
	~StudentRegister(void);
	
	void add(Student* s);
	const stringstream list();
	
	void WriteToFile();
	void ReadFromFile();

	void remove(int index);

	Student* getStudent(int index);

private:
	vector<Student *> v;
};

